home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / utils / thing.elc.z / thing.elc
Emacs Compiled Lisp  |  1998-05-21  |  6.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v20 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 35 36 3a 31 39 20 31 | 39 39 38 0a 3b 3b 3b 20 |:56:19 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 75 74 69 6c |s-20.3/l|isp/util|
|000000a0| 73 2f 74 68 69 6e 67 2e | 65 6c 0a 3b 3b 3b 20 65 |s/thing.|el.;;; e|
|000000b0| 6d 61 63 73 20 76 65 72 | 73 69 6f 6e 20 32 30 2e |macs ver|sion 20.|
|000000c0| 34 20 22 45 6d 65 72 61 | 6c 64 22 20 58 45 6d 61 |4 "Emera|ld" XEma|
|000000d0| 63 73 20 20 4c 75 63 69 | 64 2e 0a 3b 3b 3b 20 62 |cs Luci|d..;;; b|
|000000e0| 79 74 65 63 6f 6d 70 20 | 76 65 72 73 69 6f 6e 20 |ytecomp |version |
|000000f0| 32 2e 32 35 20 58 45 6d | 61 63 73 3b 20 32 32 2d |2.25 XEm|acs; 22-|
|00000100| 4d 61 72 2d 39 36 2e 0a | 3b 3b 3b 20 6f 70 74 69 |Mar-96..|;;; opti|
|00000110| 6d 69 7a 61 74 69 6f 6e | 20 69 73 20 6f 6e 2e 0a |mization| is on..|
|00000120| 3b 3b 3b 20 74 68 69 73 | 20 66 69 6c 65 20 75 73 |;;; this| file us|
|00000130| 65 73 20 6f 70 63 6f 64 | 65 73 20 77 68 69 63 68 |es opcod|es which|
|00000140| 20 64 6f 20 6e 6f 74 20 | 65 78 69 73 74 20 69 6e | do not |exist in|
|00000150| 20 45 6d 61 63 73 20 31 | 39 2e 0a 0a 28 69 66 20 | Emacs 1|9...(if |
|00000160| 28 61 6e 64 20 28 62 6f | 75 6e 64 70 20 27 65 6d |(and (bo|undp 'em|
|00000170| 61 63 73 2d 76 65 72 73 | 69 6f 6e 29 0a 09 20 28 |acs-vers|ion).. (|
|00000180| 6f 72 20 28 61 6e 64 20 | 28 62 6f 75 6e 64 70 20 |or (and |(boundp |
|00000190| 27 65 70 6f 63 68 3a 3a | 76 65 72 73 69 6f 6e 29 |'epoch::|version)|
|000001a0| 20 65 70 6f 63 68 3a 3a | 76 65 72 73 69 6f 6e 29 | epoch::|version)|
|000001b0| 0a 09 20 20 20 20 20 28 | 73 74 72 69 6e 67 2d 6c |.. (|string-l|
|000001c0| 65 73 73 70 20 65 6d 61 | 63 73 2d 76 65 72 73 69 |essp ema|cs-versi|
|000001d0| 6f 6e 20 22 32 30 22 29 | 29 29 0a 20 20 20 20 28 |on "20")|)). (|
|000001e0| 65 72 72 6f 72 20 22 60 | 74 68 69 6e 67 2e 65 6c |error "`|thing.el|
|000001f0| 27 20 77 61 73 20 63 6f | 6d 70 69 6c 65 64 20 66 |' was co|mpiled f|
|00000200| 6f 72 20 45 6d 61 63 73 | 20 32 30 22 29 29 0a 0a |or Emacs| 20"))..|
|00000210| 28 6f 72 20 28 62 6f 75 | 6e 64 70 20 27 63 75 72 |(or (bou|ndp 'cur|
|00000220| 72 65 6e 74 2d 6c 6f 61 | 64 2d 6c 69 73 74 29 20 |rent-loa|d-list) |
|00000230| 28 73 65 74 71 20 63 75 | 72 72 65 6e 74 2d 6c 6f |(setq cu|rrent-lo|
|00000240| 61 64 2d 6c 69 73 74 20 | 6e 69 6c 29 29 0a 0a 0a |ad-list |nil))...|
|00000250| 28 70 72 6f 76 69 64 65 | 20 27 74 68 69 6e 67 29 |(provide| 'thing)|
|00000260| 0a 23 40 39 32 20 2a 4c | 69 73 74 20 6f 66 20 70 |.#@92 *L|ist of p|
|00000270| 61 69 72 73 20 6f 66 20 | 74 68 65 20 66 6f 72 6d |airs of |the form|
|00000280| 20 28 53 59 4e 54 41 58 | 2d 43 48 41 52 20 46 55 | (SYNTAX|-CHAR FU|
|00000290| 4e 43 54 49 4f 4e 29 20 | 75 73 65 64 20 62 79 0a |NCTION) |used by.|
|000002a0| 74 68 65 20 66 75 6e 63 | 74 69 6f 6e 20 60 74 68 |the func|tion `th|
|000002b0| 69 6e 67 2d 62 6f 75 6e | 64 61 72 69 65 73 27 2e |ing-boun|daries'.|
|000002c0| 1f 0a 28 64 65 66 76 61 | 72 20 74 68 69 6e 67 2d |..(defva|r thing-|
|000002d0| 62 6f 75 6e 64 61 72 79 | 2d 61 6c 69 73 74 20 27 |boundary|-alist '|
|000002e0| 28 28 3f 77 20 74 68 69 | 6e 67 2d 77 6f 72 64 29 |((?w thi|ng-word)|
|000002f0| 20 28 3f 5c 5f 20 74 68 | 69 6e 67 2d 73 79 6d 62 | (?\_ th|ing-symb|
|00000300| 6f 6c 29 20 28 3f 5c 28 | 20 74 68 69 6e 67 2d 73 |ol) (?\(| thing-s|
|00000310| 65 78 70 2d 73 74 61 72 | 74 29 20 28 3f 5c 24 20 |exp-star|t) (?\$ |
|00000320| 74 68 69 6e 67 2d 73 65 | 78 70 2d 73 74 61 72 74 |thing-se|xp-start|
|00000330| 29 20 28 3f 5c 27 20 74 | 68 69 6e 67 2d 73 65 78 |) (?\' t|hing-sex|
|00000340| 70 2d 73 74 61 72 74 29 | 20 28 3f 5c 22 20 74 68 |p-start)| (?\" th|
|00000350| 69 6e 67 2d 73 65 78 70 | 2d 73 74 61 72 74 29 20 |ing-sexp|-start) |
|00000360| 28 3f 5c 29 20 74 68 69 | 6e 67 2d 73 65 78 70 2d |(?\) thi|ng-sexp-|
|00000370| 65 6e 64 29 20 28 3f 5c | 20 20 74 68 69 6e 67 2d |end) (?\| thing-|
|00000380| 77 68 69 74 65 73 70 61 | 63 65 29 20 28 3f 5c 3c |whitespa|ce) (?\<|
|00000390| 20 74 68 69 6e 67 2d 63 | 6f 6d 6d 65 6e 74 29 20 | thing-c|omment) |
|000003a0| 28 3f 5c 2e 20 74 68 69 | 6e 67 2d 6e 65 78 74 2d |(?\. thi|ng-next-|
|000003b0| 73 65 78 70 29 29 20 28 | 23 24 20 2e 20 2d 36 31 |sexp)) (|#$ . -61|
|000003c0| 34 29 29 0a 23 40 36 34 | 20 2a 4e 6f 6e 20 6e 69 |4)).#@64| *Non ni|
|000003d0| 6c 20 6d 65 61 6e 73 20 | 72 65 74 75 72 6e 20 73 |l means |return s|
|000003e0| 69 6e 67 6c 65 20 63 68 | 61 72 20 62 6f 75 6e 64 |ingle ch|ar bound|
|000003f0| 61 72 69 65 73 20 69 66 | 20 61 6c 6c 20 65 6c 73 |aries if| all els|
|00000400| 65 20 66 61 69 6c 73 1f | 0a 28 64 65 66 76 61 72 |e fails.|.(defvar|
|00000410| 20 74 68 69 6e 67 2d 72 | 65 70 6f 72 74 2d 63 68 | thing-r|eport-ch|
|00000420| 61 72 2d 70 20 74 20 28 | 23 24 20 2e 20 2d 39 36 |ar-p t (|#$ . -96|
|00000430| 39 29 29 0a 23 40 37 34 | 20 2a 4e 6f 6e 20 6e 69 |9)).#@74| *Non ni|
|00000440| 6c 20 6d 65 61 6e 73 20 | 74 68 61 74 20 77 68 69 |l means |that whi|
|00000450| 74 65 73 70 61 63 65 73 | 20 61 72 65 20 63 6f 6e |tespaces| are con|
|00000460| 73 69 64 65 72 65 64 20 | 61 73 20 74 68 69 6e 67 |sidered |as thing|
|00000470| 73 2c 20 6f 74 68 65 72 | 77 69 73 65 20 6e 6f 74 |s, other|wise not|
|00000480| 2e 1f 0a 28 64 65 66 76 | 61 72 20 74 68 69 6e 67 |...(defv|ar thing|
|00000490| 2d 72 65 70 6f 72 74 2d | 77 68 69 74 65 73 70 61 |-report-|whitespa|
|000004a0| 63 65 20 74 20 28 23 24 | 20 2e 20 2d 31 30 38 31 |ce t (#$| . -1081|
|000004b0| 29 29 0a 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |)).(byte|-code ".|
|000004c0| c1 21 ac 82 c2 11 c1 0b | 42 13 c0 87 22 20 5b 62 |.!......|B..." [b|
|000004d0| 6f 75 6e 64 70 20 2a 6c | 61 73 74 2d 74 68 69 6e |oundp *l|ast-thin|
|000004e0| 67 2a 20 22 54 68 65 20 | 6c 61 73 74 20 74 68 69 |g* "The |last thi|
|000004f0| 6e 67 20 66 6f 75 6e 64 | 20 62 79 20 74 68 69 6e |ng found| by thin|
|00000500| 67 2d 62 6f 75 6e 64 61 | 72 69 65 73 2e 20 20 55 |g-bounda|ries. U|
|00000510| 73 65 64 20 66 6f 72 20 | 63 68 61 69 6e 69 6e 67 |sed for |chaining|
|00000520| 20 63 6f 6d 6d 61 6e 64 | 73 2e 22 20 63 75 72 72 | command|s." curr|
|00000530| 65 6e 74 2d 6c 6f 61 64 | 2d 6c 69 73 74 5d 20 32 |ent-load|-list] 2|
|00000540| 29 0a 23 40 31 30 38 20 | 43 6f 6e 73 20 63 65 6c |).#@108 |Cons cel|
|00000550| 6c 20 74 68 61 74 20 63 | 6f 6e 74 61 69 6e 73 20 |l that c|ontains |
|00000560| 61 20 72 65 67 69 6f 6e | 20 28 3c 62 65 67 69 6e |a region| (<begin|
|00000570| 6e 69 6e 67 3e 20 2e 20 | 3c 65 6e 64 3e 29 0a 54 |ning> . |<end>).T|
|00000580| 68 65 20 66 75 6e 63 74 | 69 6f 6e 20 60 74 68 69 |he funct|ion `thi|
|00000590| 6e 67 2d 72 65 67 69 6f | 6e 27 20 75 70 64 61 74 |ng-regio|n' updat|
|000005a0| 65 73 20 61 6e 64 20 72 | 65 74 75 72 6e 73 20 69 |es and r|eturns i|
|000005b0| 74 2e 1f 0a 28 64 65 66 | 76 61 72 20 74 68 69 6e |t...(def|var thin|
|000005c0| 67 2d 72 65 67 69 6f 6e | 20 28 62 79 74 65 2d 63 |g-region| (byte-c|
|000005d0| 6f 64 65 20 22 c0 89 42 | 87 22 20 5b 6e 69 6c 5d |ode "..B|." [nil]|
|000005e0| 20 32 29 20 28 23 24 20 | 2e 20 31 33 35 32 29 29 | 2) (#$ |. 1352))|
|000005f0| 0a 23 40 31 31 38 20 4d | 61 6b 65 20 42 45 47 49 |.#@118 M|ake BEGI|
|00000600| 4e 4e 49 4e 47 20 74 68 | 65 20 63 61 72 20 61 6e |NNING th|e car an|
|00000610| 64 20 45 4e 44 20 74 68 | 65 20 63 64 72 20 6f 66 |d END th|e cdr of|
|00000620| 20 74 68 65 20 63 6f 6e | 73 20 63 65 6c 6c 20 69 | the con|s cell i|
|00000630| 6e 20 74 68 65 0a 76 61 | 72 69 61 62 6c 65 20 60 |n the.va|riable `|
|00000640| 74 68 69 6e 67 2d 72 65 | 67 69 6f 6e 27 2e 20 52 |thing-re|gion'. R|
|00000650| 65 74 75 72 6e 20 74 68 | 65 20 75 70 64 61 74 65 |eturn th|e update|
|00000660| 64 20 63 6f 6e 73 20 63 | 65 6c 6c 1f 0a 28 64 65 |d cons c|ell..(de|
|00000670| 66 61 6c 69 61 73 20 27 | 74 68 69 6e 67 2d 72 65 |falias '|thing-re|
|00000680| 67 69 6f 6e 20 23 5b 28 | 62 65 67 69 6e 6e 69 6e |gion #[(|beginnin|
|00000690| 67 20 65 6e 64 29 20 22 | 08 09 55 3f ad 89 5c 6e |g end) "|..U?..\n|
|000006a0| 08 a0 88 5c 6e 09 a1 88 | 5c 6e 87 22 20 5b 62 65 |...\n...|\n." [be|
|000006b0| 67 69 6e 6e 69 6e 67 20 | 65 6e 64 20 74 68 69 6e |ginning |end thin|
|000006c0| 67 2d 72 65 67 69 6f 6e | 5d 20 32 20 28 23 24 20 |g-region|] 2 (#$ |
|000006d0| 2e 20 31 35 32 37 29 5d | 29 0a 23 40 31 31 36 20 |. 1527)]|).#@116 |
|000006e0| 4c 69 73 74 20 6f 66 20 | 70 61 69 72 73 20 74 6f |List of |pairs to|
|000006f0| 20 67 6f 20 66 72 6f 6d | 20 6f 6e 65 20 74 68 69 | go from| one thi|
|00000700| 6e 67 20 74 6f 20 61 20 | 62 69 67 67 65 72 20 74 |ng to a |bigger t|
|00000710| 68 69 6e 67 2e 0a 53 65 | 65 20 6d 6f 75 73 65 2d |hing..Se|e mouse-|
|00000720| 73 65 6c 65 63 74 2d 62 | 69 67 67 65 72 2d 74 68 |select-b|igger-th|
|00000730| 69 6e 67 20 61 6e 64 20 | 6d 6f 75 73 65 2d 64 65 |ing and |mouse-de|
|00000740| 6c 65 74 65 2d 62 69 67 | 67 65 72 2d 74 68 69 6e |lete-big|ger-thin|
|00000750| 67 2e 1f 0a 28 64 65 66 | 76 61 72 20 74 68 69 6e |g...(def|var thin|
|00000760| 67 2d 62 69 67 67 65 72 | 2d 61 6c 69 73 74 20 27 |g-bigger|-alist '|
|00000770| 28 28 77 6f 72 64 2d 73 | 79 6d 62 6f 6c 20 74 68 |((word-s|ymbol th|
|00000780| 69 6e 67 2d 73 79 6d 62 | 6f 6c 29 20 28 73 79 6d |ing-symb|ol) (sym|
|00000790| 62 6f 6c 20 74 68 69 6e | 67 2d 73 65 78 70 29 20 |bol thin|g-sexp) |
|000007a0| 28 77 6f 72 64 2d 73 65 | 78 70 20 74 68 69 6e 67 |(word-se|xp thing|
|000007b0| 2d 73 65 78 70 29 20 28 | 73 65 78 70 20 74 68 69 |-sexp) (|sexp thi|
|000007c0| 6e 67 2d 75 70 2d 73 65 | 78 70 29 20 28 73 65 78 |ng-up-se|xp) (sex|
|000007d0| 70 2d 75 70 20 74 68 69 | 6e 67 2d 75 70 2d 73 65 |p-up thi|ng-up-se|
|000007e0| 78 70 29 20 28 6c 69 6e | 65 20 74 68 69 6e 67 2d |xp) (lin|e thing-|
|000007f0| 70 61 72 61 67 72 61 70 | 68 29 20 28 70 61 72 61 |paragrap|h) (para|
|00000800| 67 72 61 70 68 20 74 68 | 69 6e 67 2d 70 61 67 65 |graph th|ing-page|
|00000810| 29 20 28 63 68 61 72 20 | 74 68 69 6e 67 2d 77 6f |) (char |thing-wo|
|00000820| 72 64 29 20 28 77 6f 72 | 64 2d 73 65 6e 74 65 6e |rd) (wor|d-senten|
|00000830| 63 65 20 74 68 69 6e 67 | 2d 73 65 6e 74 65 6e 63 |ce thing|-sentenc|
|00000840| 65 29 20 28 73 65 6e 74 | 65 6e 63 65 20 74 68 69 |e) (sent|ence thi|
|00000850| 6e 67 2d 70 61 72 61 67 | 72 61 70 68 29 29 20 28 |ng-parag|raph)) (|
|00000860| 23 24 20 2e 20 31 37 36 | 30 29 29 0a 23 40 31 39 |#$ . 176|0)).#@19|
|00000870| 39 20 2a 54 68 65 20 6e | 65 78 74 20 62 69 67 67 |9 *The n|ext bigg|
|00000880| 65 72 20 74 68 69 6e 67 | 20 61 66 74 65 72 20 61 |er thing| after a|
|00000890| 20 77 6f 72 64 2e 20 20 | 41 20 73 79 6d 62 6f 6c | word. |A symbol|
|000008a0| 2e 0a 53 75 70 70 6f 72 | 74 65 64 20 76 61 6c 75 |..Suppor|ted valu|
|000008b0| 65 73 20 61 72 65 3a 20 | 77 6f 72 64 2d 73 79 6d |es are: |word-sym|
|000008c0| 62 6f 6c 2c 20 77 6f 72 | 64 2d 73 65 78 70 2c 20 |bol, wor|d-sexp, |
|000008d0| 61 6e 64 20 77 6f 72 64 | 2d 73 65 6e 74 65 6e 63 |and word|-sentenc|
|000008e0| 65 2e 0a 44 65 66 61 75 | 6c 74 20 76 61 6c 75 65 |e..Defau|lt value|
|000008f0| 20 69 73 20 77 6f 72 64 | 2d 73 65 6e 74 65 6e 63 | is word|-sentenc|
|00000900| 65 2e 0a 41 75 74 6f 6d | 61 74 69 63 61 6c 6c 79 |e..Autom|atically|
|00000910| 20 62 65 63 6f 6d 65 73 | 20 6c 6f 63 61 6c 20 77 | becomes| local w|
|00000920| 68 65 6e 20 73 65 74 20 | 69 6e 20 61 6e 79 20 66 |hen set |in any f|
|00000930| 61 73 68 69 6f 6e 2e 1f | 0a 28 64 65 66 76 61 72 |ashion..|.(defvar|
|00000940| 20 74 68 69 6e 67 2d 77 | 6f 72 64 2d 6e 65 78 74 | thing-w|ord-next|
|00000950| 20 6e 69 6c 20 28 23 24 | 20 2e 20 2d 32 31 36 32 | nil (#$| . -2162|
|00000960| 29 29 0a 28 6d 61 6b 65 | 2d 76 61 72 69 61 62 6c |)).(make|-variabl|
|00000970| 65 2d 62 75 66 66 65 72 | 2d 6c 6f 63 61 6c 20 27 |e-buffer|-local '|
|00000980| 74 68 69 6e 67 2d 77 6f | 72 64 2d 6e 65 78 74 29 |thing-wo|rd-next)|
|00000990| 0a 23 40 36 38 34 20 52 | 65 74 75 72 6e 20 73 74 |.#@684 R|eturn st|
|000009a0| 61 72 74 20 61 6e 64 20 | 65 6e 64 20 6f 66 20 74 |art and |end of t|
|000009b0| 65 78 74 20 6f 62 6a 65 | 63 74 20 61 74 20 48 45 |ext obje|ct at HE|
|000009c0| 52 45 20 75 73 69 6e 67 | 20 73 79 6e 74 61 78 20 |RE using| syntax |
|000009d0| 74 61 62 6c 65 20 61 6e | 64 0a 74 68 69 6e 67 2d |table an|d.thing-|
|000009e0| 62 6f 75 6e 64 61 72 79 | 2d 61 6c 69 73 74 2e 20 |boundary|-alist. |
|000009f0| 20 54 68 69 6e 67 2d 62 | 6f 75 6e 64 61 72 79 2d | Thing-b|oundary-|
|00000a00| 61 6c 69 73 74 20 69 73 | 20 61 20 6c 69 73 74 20 |alist is| a list |
|00000a10| 6f 66 20 70 61 69 72 73 | 20 6f 66 20 74 68 65 0a |of pairs| of the.|
|00000a20| 66 6f 72 6d 20 28 53 59 | 4e 54 41 58 2d 43 48 41 |form (SY|NTAX-CHA|
|00000a30| 52 20 46 55 4e 43 54 49 | 4f 4e 29 20 77 68 65 72 |R FUNCTI|ON) wher|
|00000a40| 65 20 46 55 4e 43 54 49 | 4f 4e 20 74 61 6b 65 73 |e FUNCTI|ON takes|
|00000a50| 20 61 20 73 69 6e 67 6c | 65 20 70 6f 73 69 74 69 | a singl|e positi|
|00000a60| 6f 6e 0a 61 72 67 75 6d | 65 6e 74 20 61 6e 64 20 |on.argum|ent and |
|00000a70| 72 65 74 75 72 6e 73 20 | 61 20 63 6f 6e 73 20 6f |returns |a cons o|
|00000a80| 66 20 70 6c 61 63 65 73 | 20 28 73 74 61 72 74 20 |f places| (start |
|00000a90| 65 6e 64 29 20 72 65 70 | 72 65 73 65 6e 74 69 6e |end) rep|resentin|
|00000aa0| 67 0a 62 6f 75 6e 64 61 | 72 69 65 73 20 6f 66 20 |g.bounda|ries of |
|00000ab0| 74 68 65 20 74 68 69 6e | 67 20 61 74 20 74 68 61 |the thin|g at tha|
|00000ac0| 74 20 70 6f 73 69 74 69 | 6f 6e 2e 0a 0a 54 79 70 |t positi|on...Typ|
|00000ad0| 69 63 61 6c 6c 79 3a 0a | 20 4c 65 66 74 20 6f 72 |ically:.| Left or|
|00000ae0| 20 72 69 67 68 74 20 50 | 61 72 65 6e 20 73 79 6e | right P|aren syn|
|00000af0| 74 61 78 20 69 6e 64 69 | 63 61 74 65 73 20 61 6e |tax indi|cates an|
|00000b00| 20 73 2d 65 78 70 72 65 | 73 73 69 6f 6e 2e 0a 20 | s-expre|ssion.. |
|00000b10| 54 68 65 20 65 6e 64 20 | 6f 66 20 61 20 6c 69 6e |The end |of a lin|
|00000b20| 65 20 6d 61 72 6b 73 20 | 74 68 65 20 6c 69 6e 65 |e marks |the line|
|00000b30| 20 69 6e 63 6c 75 64 69 | 6e 67 20 61 20 74 72 61 | includi|ng a tra|
|00000b40| 69 6c 69 6e 67 20 6e 65 | 77 6c 69 6e 65 2e 0a 20 |iling ne|wline.. |
|00000b50| 57 6f 72 64 20 73 79 6e | 74 61 78 20 69 6e 64 69 |Word syn|tax indi|
|00000b60| 63 61 74 65 73 20 63 75 | 72 72 65 6e 74 20 77 6f |cates cu|rrent wo|
|00000b70| 72 64 2e 0a 20 53 79 6d | 62 6f 6c 20 73 79 6e 74 |rd.. Sym|bol synt|
|00000b80| 61 78 20 69 6e 64 69 63 | 61 74 65 73 20 73 79 6d |ax indic|ates sym|
|00000b90| 62 6f 6c 2e 0a 20 49 66 | 20 69 74 20 64 6f 65 73 |bol.. If| it does|
|00000ba0| 6e 27 74 20 72 65 63 6f | 67 6e 69 7a 65 20 6f 6e |n't reco|gnize on|
|00000bb0| 65 20 6f 66 20 74 68 65 | 73 65 20 69 74 20 73 65 |e of the|se it se|
|00000bc0| 6c 65 63 74 73 20 6a 75 | 73 74 20 74 68 65 20 63 |lects ju|st the c|
|00000bd0| 68 61 72 61 63 74 65 72 | 20 48 45 52 45 2e 0a 0a |haracter| HERE...|
|00000be0| 49 66 20 61 6e 20 65 72 | 72 6f 72 20 6f 63 63 75 |If an er|ror occu|
|00000bf0| 72 73 20 20 64 75 72 69 | 6e 67 20 73 79 6e 74 61 |rs duri|ng synta|
|00000c00| 78 20 73 63 61 6e 6e 69 | 6e 67 2c 20 74 68 65 20 |x scanni|ng, the |
|00000c10| 66 75 6e 63 74 69 6f 6e | 20 6a 75 73 74 20 70 72 |function| just pr|
|00000c20| 69 6e 74 73 20 61 0a 6d | 65 73 73 61 67 65 20 61 |ints a.m|essage a|
|00000c30| 6e 64 20 72 65 74 75 72 | 6e 73 20 60 6e 69 6c 27 |nd retur|ns `nil'|
|00000c40| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 74 68 |...(defa|lias 'th|
|00000c50| 69 6e 67 2d 62 6f 75 6e | 64 61 72 69 65 73 20 23 |ing-boun|daries #|
|00000c60| 5b 28 68 65 72 65 29 20 | 22 c0 11 8a 5c 6e 62 88 |[(here) |"...\nb.|
|00000c70| 6c 29 ab 84 c3 5c 6e 21 | 87 5c 6e 66 7a 89 1c 0d |l)...\n!|.\nfz...|
|00000c80| b7 89 1e 06 ab 94 0e 07 | ac 88 0e 06 41 40 c8 61 |........|....A@.a|
|00000c90| ac 88 0e 06 41 40 5c 6e | 21 aa 8e 0e 09 ab 89 ca |....A@\n|!.......|
|00000ca0| 11 cb 5c 6e 89 54 5c 22 | aa 81 c0 2a 87 22 20 5b |..\n.T\"|...*." [|
|00000cb0| 6e 69 6c 20 2a 6c 61 73 | 74 2d 74 68 69 6e 67 2a |nil *las|t-thing*|
|00000cc0| 20 68 65 72 65 20 74 68 | 69 6e 67 2d 67 65 74 2d | here th|ing-get-|
|00000cd0| 6c 69 6e 65 20 73 79 6e | 74 61 78 20 74 68 69 6e |line syn|tax thin|
|00000ce0| 67 2d 62 6f 75 6e 64 61 | 72 79 2d 61 6c 69 73 74 |g-bounda|ry-alist|
|00000cf0| 20 70 61 69 72 20 74 68 | 69 6e 67 2d 72 65 70 6f | pair th|ing-repo|
|00000d00| 72 74 2d 77 68 69 74 65 | 73 70 61 63 65 20 74 68 |rt-white|space th|
|00000d10| 69 6e 67 2d 77 68 69 74 | 65 73 70 61 63 65 20 74 |ing-whit|espace t|
|00000d20| 68 69 6e 67 2d 72 65 70 | 6f 72 74 2d 63 68 61 72 |hing-rep|ort-char|
|00000d30| 2d 70 20 63 68 61 72 20 | 74 68 69 6e 67 2d 72 65 |-p char |thing-re|
|00000d40| 67 69 6f 6e 5d 20 34 20 | 28 23 24 20 2e 20 32 34 |gion] 4 |(#$ . 24|
|00000d50| 35 35 29 20 22 64 22 5d | 29 0a 23 40 34 31 20 52 |55) "d"]|).#@41 R|
|00000d60| 65 74 75 72 6e 20 73 74 | 61 72 74 20 61 6e 64 20 |eturn st|art and |
|00000d70| 65 6e 64 20 6f 66 20 73 | 79 6d 62 6f 6c 20 61 74 |end of s|ymbol at|
|00000d80| 20 48 45 52 45 2e 1f 0a | 28 64 65 66 61 6c 69 61 | HERE...|(defalia|
|00000d90| 73 20 27 74 68 69 6e 67 | 2d 73 79 6d 62 6f 6c 20 |s 'thing|-symbol |
|00000da0| 23 5b 28 68 65 72 65 29 | 20 22 08 66 7a c1 73 ad |#[(here)| ".fz.s.|
|00000db0| 97 c2 13 c4 08 c5 5c 22 | 89 1e 06 ad 8b c7 08 c4 |......\"|........|
|00000dc0| 0e 06 c8 5c 22 5e 0e 06 | 5c 22 29 87 22 20 5b 68 |...\"^..|\")." [h|
|00000dd0| 65 72 65 20 28 3f 5c 5f | 20 3f 77 29 20 73 79 6d |ere (?\_| ?w) sym|
|00000de0| 62 6f 6c 20 2a 6c 61 73 | 74 2d 74 68 69 6e 67 2a |bol *las|t-thing*|
|00000df0| 20 73 63 61 6e 2d 73 65 | 78 70 73 20 31 20 65 6e | scan-se|xps 1 en|
|00000e00| 64 20 74 68 69 6e 67 2d | 72 65 67 69 6f 6e 20 2d |d thing-|region -|
|00000e10| 31 5d 20 36 20 28 23 24 | 20 2e 20 33 34 32 33 29 |1] 6 (#$| . 3423)|
|00000e20| 5d 29 0a 23 40 34 33 20 | 52 65 74 75 72 6e 20 73 |]).#@43 |Return s|
|00000e30| 74 61 72 74 20 61 6e 64 | 20 65 6e 64 20 6f 66 20 |tart and| end of |
|00000e40| 66 69 6c 65 6e 61 6d 65 | 20 61 74 20 48 45 52 45 |filename| at HERE|
|00000e50| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 74 68 |...(defa|lias 'th|
|00000e60| 69 6e 67 2d 66 69 6c 65 | 6e 61 6d 65 20 23 5b 28 |ing-file|name #[(|
|00000e70| 68 65 72 65 29 20 22 08 | 66 7a c1 73 ad be 08 64 |here) ".|fz.s...d|
|00000e80| 57 ad b9 c2 89 1b 1c 8a | 08 62 88 c5 c6 c2 c7 23 |W.......|.b.....#|
|00000e90| ad a9 c8 94 89 13 62 ad | a2 c9 ca c2 c7 23 ab 8e |......b.|.....#..|
|00000ea0| c8 94 6e ab 83 c8 aa 81 | cb 5c 5c 89 14 ac 85 65 |..n.....|.\\....e|
|00000eb0| 89 14 ad 88 cc 0c 08 5e | 08 0b 5d 5c 22 2b 87 22 |.......^|..]\"+."|
|00000ec0| 20 5b 68 65 72 65 20 28 | 3f 77 20 3f 5c 5f 20 3f | [here (|?w ?\_ ?|
|00000ed0| 5c 2e 29 20 6e 69 6c 20 | 65 6e 64 20 73 74 61 72 |\.) nil |end star|
|00000ee0| 74 20 72 65 2d 73 65 61 | 72 63 68 2d 66 6f 72 77 |t re-sea|rch-forw|
|00000ef0| 61 72 64 20 22 5c 5c 73 | 20 5c 5c 7c 3a 5c 5c 73 |ard "\\s| \\|:\\s|
|00000f00| 5c 22 5c 5c 7c 24 22 20 | 74 20 30 20 72 65 2d 73 |\"\\|$" |t 0 re-s|
|00000f10| 65 61 72 63 68 2d 62 61 | 63 6b 77 61 72 64 20 22 |earch-ba|ckward "|
|00000f20| 5b 5e 5f 61 2d 7a 41 2d | 5a 30 2d 39 2d 2d 2d 23 |[^_a-zA-|Z0-9---#|
|00000f30| 24 2e 7e 2f 40 5d 2b 22 | 20 31 20 74 68 69 6e 67 |$.~/@]+"| 1 thing|
|00000f40| 2d 72 65 67 69 6f 6e 5d | 20 34 20 28 23 24 20 2e |-region]| 4 (#$ .|
|00000f50| 20 33 36 32 34 29 5d 29 | 0a 23 40 34 35 20 52 65 | 3624)])|.#@45 Re|
|00000f60| 74 75 72 6e 20 73 74 61 | 72 74 20 61 6e 64 20 65 |turn sta|rt and e|
|00000f70| 6e 64 20 6f 66 20 73 65 | 78 70 20 73 74 61 72 74 |nd of se|xp start|
|00000f80| 69 6e 67 20 48 45 52 45 | 2e 1f 0a 28 64 65 66 61 |ing HERE|...(defa|
|00000f90| 6c 69 61 73 20 27 74 68 | 69 6e 67 2d 73 65 78 70 |lias 'th|ing-sexp|
|00000fa0| 2d 73 74 61 72 74 20 23 | 5b 28 68 65 72 65 29 20 |-start #|[(here) |
|00000fb0| 22 c0 11 c2 0b c4 0b c5 | 5c 22 5c 22 87 22 20 5b |".......|\"\"." [|
|00000fc0| 73 65 78 70 2d 73 74 61 | 72 74 20 2a 6c 61 73 74 |sexp-sta|rt *last|
|00000fd0| 2d 74 68 69 6e 67 2a 20 | 74 68 69 6e 67 2d 72 65 |-thing* |thing-re|
|00000fe0| 67 69 6f 6e 20 68 65 72 | 65 20 73 63 61 6e 2d 73 |gion her|e scan-s|
|00000ff0| 65 78 70 73 20 31 5d 20 | 35 20 28 23 24 20 2e 20 |exps 1] |5 (#$ . |
|00001000| 33 39 33 34 29 5d 29 0a | 23 40 34 33 20 52 65 74 |3934)]).|#@43 Ret|
|00001010| 75 72 6e 20 73 74 61 72 | 74 20 61 6e 64 20 65 6e |urn star|t and en|
|00001020| 64 20 6f 66 20 73 65 78 | 70 20 65 6e 64 69 6e 67 |d of sex|p ending|
|00001030| 20 48 45 52 45 2e 1f 0a | 28 64 65 66 61 6c 69 61 | HERE...|(defalia|
|00001040| 73 20 27 74 68 69 6e 67 | 2d 73 65 78 70 2d 65 6e |s 'thing|-sexp-en|
|00001050| 64 20 23 5b 28 68 65 72 | 65 29 20 22 c0 11 c2 c3 |d #[(her|e) "....|
|00001060| 0c 54 c5 5c 22 0c 54 5c | 22 87 22 20 5b 73 65 78 |.T.\".T\|"." [sex|
|00001070| 70 2d 65 6e 64 20 2a 6c | 61 73 74 2d 74 68 69 6e |p-end *l|ast-thin|
|00001080| 67 2a 20 74 68 69 6e 67 | 2d 72 65 67 69 6f 6e 20 |g* thing|-region |
|00001090| 73 63 61 6e 2d 73 65 78 | 70 73 20 68 65 72 65 20 |scan-sex|ps here |
|000010a0| 2d 31 5d 20 34 20 28 23 | 24 20 2e 20 34 31 30 39 |-1] 4 (#|$ . 4109|
|000010b0| 29 5d 29 0a 23 40 34 33 | 20 52 65 74 75 72 6e 20 |)]).#@43| Return |
|000010c0| 73 74 61 72 74 20 61 6e | 64 20 65 6e 64 20 6f 66 |start an|d end of|
|000010d0| 20 74 68 65 20 73 65 78 | 70 20 61 74 20 48 45 52 | the sex|p at HER|
|000010e0| 45 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 74 |E...(def|alias 't|
|000010f0| 68 69 6e 67 2d 73 65 78 | 70 20 23 5b 28 68 65 72 |hing-sex|p #[(her|
|00001100| 65 29 20 22 c0 11 8a 5c | 6e 62 88 c3 c4 c5 21 88 |e) "...\|nb....!.|
|00001110| 60 c6 c5 21 88 60 5c 22 | 29 87 22 20 5b 73 65 78 |`..!.`\"|)." [sex|
|00001120| 70 20 2a 6c 61 73 74 2d | 74 68 69 6e 67 2a 20 68 |p *last-|thing* h|
|00001130| 65 72 65 20 74 68 69 6e | 67 2d 72 65 67 69 6f 6e |ere thin|g-region|
|00001140| 20 62 61 63 6b 77 61 72 | 64 2d 75 70 2d 6c 69 73 | backwar|d-up-lis|
|00001150| 74 20 31 20 66 6f 72 77 | 61 72 64 2d 6c 69 73 74 |t 1 forw|ard-list|
|00001160| 5d 20 34 20 28 23 24 20 | 2e 20 34 32 38 31 29 5d |] 4 (#$ |. 4281)]|
|00001170| 29 0a 23 40 36 33 20 52 | 65 74 75 72 6e 20 73 74 |).#@63 R|eturn st|
|00001180| 61 72 74 20 61 6e 64 20 | 65 6e 64 20 6f 66 20 74 |art and |end of t|
|00001190| 68 65 20 73 65 78 70 20 | 65 6e 63 6c 6f 73 69 6e |he sexp |enclosin|
|000011a0| 67 20 74 68 65 20 73 65 | 6c 65 63 74 65 64 20 61 |g the se|lected a|
|000011b0| 72 65 61 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |rea...(d|efalias |
|000011c0| 27 74 68 69 6e 67 2d 75 | 70 2d 73 65 78 70 20 23 |'thing-u|p-sexp #|
|000011d0| 5b 28 68 65 72 65 29 20 | 22 c0 11 8a 5c 6e 62 88 |[(here) |"...\nb.|
|000011e0| c3 c4 c5 c6 8f 88 60 c4 | c7 c8 8f 88 60 5c 22 29 |......`.|....`\")|
|000011f0| 87 22 20 5b 73 65 78 70 | 2d 75 70 20 2a 6c 61 73 |." [sexp|-up *las|
|00001200| 74 2d 74 68 69 6e 67 2a | 20 68 65 72 65 20 74 68 |t-thing*| here th|
|00001210| 69 6e 67 2d 72 65 67 69 | 6f 6e 20 6e 69 6c 20 28 |ing-regi|on nil (|
|00001220| 62 61 63 6b 77 61 72 64 | 2d 75 70 2d 6c 69 73 74 |backward|-up-list|
|00001230| 20 31 29 20 28 28 65 72 | 72 6f 72 29 29 20 28 66 | 1) ((er|ror)) (f|
|00001240| 6f 72 77 61 72 64 2d 6c | 69 73 74 20 31 29 20 28 |orward-l|ist 1) (|
|00001250| 28 65 72 72 6f 72 29 29 | 5d 20 35 20 28 23 24 20 |(error))|] 5 (#$ |
|00001260| 2e 20 34 34 37 31 29 5d | 29 0a 23 40 39 34 20 52 |. 4471)]|).#@94 R|
|00001270| 65 74 75 72 6e 20 66 72 | 6f 6d 20 48 45 52 45 20 |eturn fr|om HERE |
|00001280| 74 6f 20 74 68 65 20 65 | 6e 64 20 6f 66 20 74 68 |to the e|nd of th|
|00001290| 65 20 73 65 78 70 20 61 | 74 20 48 45 52 45 2c 0a |e sexp a|t HERE,.|
|000012a0| 69 66 20 74 68 65 20 63 | 68 61 72 61 63 74 65 72 |if the c|haracter|
|000012b0| 20 61 74 20 48 45 52 45 | 20 69 73 20 70 61 72 74 | at HERE| is part|
|000012c0| 20 6f 66 20 61 20 73 65 | 78 70 2e 1f 0a 28 64 65 | of a se|xp...(de|
|000012d0| 66 61 6c 69 61 73 20 27 | 74 68 69 6e 67 2d 6e 65 |falias '|thing-ne|
|000012e0| 78 74 2d 73 65 78 70 20 | 23 5b 28 68 65 72 65 29 |xt-sexp |#[(here)|
|000012f0| 20 22 c0 11 5c 6e 54 66 | 7a c3 55 ab 86 c4 5c 6e | "..\nTf|z.U...\n|
|00001300| 89 54 5c 22 87 c4 5c 6e | 8a 5c 6e 62 88 c5 20 88 |.T\"..\n|.\nb.. .|
|00001310| 60 29 5c 22 87 22 20 5b | 73 65 78 70 2d 6e 65 78 |`)\"." [|sexp-nex|
|00001320| 74 20 2a 6c 61 73 74 2d | 74 68 69 6e 67 2a 20 68 |t *last-|thing* h|
|00001330| 65 72 65 20 3f 5c 20 20 | 74 68 69 6e 67 2d 72 65 |ere ?\ |thing-re|
|00001340| 67 69 6f 6e 20 66 6f 72 | 77 61 72 64 2d 73 65 78 |gion for|ward-sex|
|00001350| 70 5d 20 33 20 28 23 24 | 20 2e 20 34 37 31 39 29 |p] 3 (#$| . 4719)|
|00001360| 5d 29 0a 23 40 34 33 20 | 52 65 74 75 72 6e 20 72 |]).#@43 |Return r|
|00001370| 65 73 74 20 6f 66 20 6c | 69 6e 65 20 66 72 6f 6d |est of l|ine from|
|00001380| 20 48 45 52 45 20 74 6f | 20 6e 65 77 6c 69 6e 65 | HERE to| newline|
|00001390| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 74 68 |...(defa|lias 'th|
|000013a0| 69 6e 67 2d 63 6f 6d 6d | 65 6e 74 20 23 5b 28 68 |ing-comm|ent #[(h|
|000013b0| 65 72 65 29 20 22 c0 11 | 8a 5c 6e 62 88 68 7a c3 |ere) "..|.\nb.hz.|
|000013c0| 55 ab 85 c4 75 88 aa 75 | c5 60 c6 7f 88 60 5c 22 |U...u..u|.`...`\"|
|000013d0| 29 87 22 20 5b 63 6f 6d | 6d 65 6e 74 20 2a 6c 61 |)." [com|ment *la|
|000013e0| 73 74 2d 74 68 69 6e 67 | 2a 20 68 65 72 65 20 3f |st-thing|* here ?|
|000013f0| 5c 3c 20 2d 31 20 74 68 | 69 6e 67 2d 72 65 67 69 |\< -1 th|ing-regi|
|00001400| 6f 6e 20 6e 69 6c 5d 20 | 33 20 28 23 24 20 2e 20 |on nil] |3 (#$ . |
|00001410| 34 39 36 38 29 5d 29 0a | 23 40 33 39 20 52 65 74 |4968)]).|#@39 Ret|
|00001420| 75 72 6e 20 73 74 61 72 | 74 20 61 6e 64 20 65 6e |urn star|t and en|
|00001430| 64 20 6f 66 20 77 6f 72 | 64 20 61 74 20 48 45 52 |d of wor|d at HER|
|00001440| 45 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 74 |E...(def|alias 't|
|00001450| 68 69 6e 67 2d 77 6f 72 | 64 20 23 5b 28 68 65 72 |hing-wor|d #[(her|
|00001460| 65 29 20 22 08 ab 83 08 | aa 8b 09 c2 73 ab 83 c3 |e) "....|....s...|
|00001470| aa 81 c4 89 10 15 8a 0e | 06 62 88 c7 76 88 60 1e |........|.b..v.`.|
|00001480| 08 c9 76 88 ca 60 0e 08 | 5c 22 2a 87 22 20 5b 74 |..v..`..|\"*." [t|
|00001490| 68 69 6e 67 2d 77 6f 72 | 64 2d 6e 65 78 74 20 6d |hing-wor|d-next m|
|000014a0| 61 6a 6f 72 2d 6d 6f 64 | 65 20 28 65 6d 61 63 73 |ajor-mod|e (emacs|
|000014b0| 2d 6c 69 73 70 2d 6d 6f | 64 65 20 63 2d 6d 6f 64 |-lisp-mo|de c-mod|
|000014c0| 65 20 63 2b 2b 2d 6d 6f | 64 65 20 66 6f 72 74 72 |e c++-mo|de fortr|
|000014d0| 61 6e 2d 6d 6f 64 65 20 | 6c 61 74 65 78 2d 6d 6f |an-mode |latex-mo|
|000014e0| 64 65 20 6c 69 73 70 2d | 6d 6f 64 65 20 70 65 72 |de lisp-|mode per|
|000014f0| 6c 2d 6d 6f 64 65 20 74 | 65 78 2d 6d 6f 64 65 29 |l-mode t|ex-mode)|
|00001500| 20 77 6f 72 64 2d 73 79 | 6d 62 6f 6c 20 77 6f 72 | word-sy|mbol wor|
|00001510| 64 2d 73 65 6e 74 65 6e | 63 65 20 2a 6c 61 73 74 |d-senten|ce *last|
|00001520| 2d 74 68 69 6e 67 2a 20 | 68 65 72 65 20 31 20 65 |-thing* |here 1 e|
|00001530| 6e 64 20 2d 31 20 74 68 | 69 6e 67 2d 72 65 67 69 |nd -1 th|ing-regi|
|00001540| 6f 6e 5d 20 33 20 28 23 | 24 20 2e 20 35 31 34 39 |on] 3 (#|$ . 5149|
|00001550| 29 5d 29 0a 23 40 34 37 | 20 52 65 74 75 72 6e 20 |)]).#@47| Return |
|00001560| 73 74 61 72 74 20 61 6e | 64 20 65 6e 64 20 6f 66 |start an|d end of|
|00001570| 20 74 68 65 20 73 65 6e | 74 65 6e 63 65 20 61 74 | the sen|tence at|
|00001580| 20 48 45 52 45 2e 1f 0a | 28 64 65 66 61 6c 69 61 | HERE...|(defalia|
|00001590| 73 20 27 74 68 69 6e 67 | 2d 73 65 6e 74 65 6e 63 |s 'thing|-sentenc|
|000015a0| 65 20 23 5b 28 68 65 72 | 65 29 20 22 c0 11 8a 5c |e #[(her|e) "...\|
|000015b0| 6e 62 88 c3 c4 20 88 60 | c5 20 88 60 5c 22 29 87 |nb... .`|. .`\").|
|000015c0| 22 20 5b 73 65 6e 74 65 | 6e 63 65 20 2a 6c 61 73 |" [sente|nce *las|
|000015d0| 74 2d 74 68 69 6e 67 2a | 20 68 65 72 65 20 74 68 |t-thing*| here th|
|000015e0| 69 6e 67 2d 72 65 67 69 | 6f 6e 20 62 61 63 6b 77 |ing-regi|on backw|
|000015f0| 61 72 64 2d 73 65 6e 74 | 65 6e 63 65 20 66 6f 72 |ard-sent|ence for|
|00001600| 77 61 72 64 2d 73 65 6e | 74 65 6e 63 65 5d 20 33 |ward-sen|tence] 3|
|00001610| 20 28 23 24 20 2e 20 35 | 34 36 35 29 5d 29 0a 23 | (#$ . 5|465)]).#|
|00001620| 40 34 38 20 52 65 74 75 | 72 6e 20 73 74 61 72 74 |@48 Retu|rn start|
|00001630| 20 74 6f 20 65 6e 64 20 | 6f 66 20 61 6c 6c 20 6f | to end |of all o|
|00001640| 66 20 77 68 69 74 65 73 | 70 61 63 65 20 48 45 52 |f whites|pace HER|
|00001650| 45 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 74 |E...(def|alias 't|
|00001660| 68 69 6e 67 2d 77 68 69 | 74 65 73 70 61 63 65 20 |hing-whi|tespace |
|00001670| 23 5b 28 68 65 72 65 29 | 20 22 c0 11 8a 5c 6e 62 |#[(here)| "...\nb|
|00001680| 88 c3 c4 78 88 60 54 c3 | c4 77 88 60 1d 89 1e 06 |...x.`T.|.w.`....|
|00001690| 0d 55 ab 88 c7 0e 06 53 | 0d 5c 22 aa 85 c7 0e 06 |.U.....S|.\".....|
|000016a0| 0d 5c 22 2b 87 22 20 5b | 77 68 69 74 65 73 70 61 |.\"+." [|whitespa|
|000016b0| 63 65 20 2a 6c 61 73 74 | 2d 74 68 69 6e 67 2a 20 |ce *last|-thing* |
|000016c0| 68 65 72 65 20 22 20 09 | 22 20 6e 69 6c 20 65 6e |here " .|" nil en|
|000016d0| 64 20 73 74 61 72 74 20 | 74 68 69 6e 67 2d 72 65 |d start |thing-re|
|000016e0| 67 69 6f 6e 5d 20 34 20 | 28 23 24 20 2e 20 35 36 |gion] 4 |(#$ . 56|
|000016f0| 36 38 29 5d 29 0a 23 40 | 36 32 20 52 65 74 75 72 |68)]).#@|62 Retur|
|00001700| 6e 20 77 68 6f 6c 65 20 | 6f 66 20 6c 69 6e 65 20 |n whole |of line |
|00001710| 48 45 52 45 20 69 73 20 | 69 6e 2c 20 77 69 74 68 |HERE is |in, with|
|00001720| 20 6e 65 77 6c 69 6e 65 | 20 75 6e 6c 65 73 73 20 | newline| unless |
|00001730| 61 74 20 65 6f 62 2e 1f | 0a 28 64 65 66 61 6c 69 |at eob..|.(defali|
|00001740| 61 73 20 27 74 68 69 6e | 67 2d 67 65 74 2d 6c 69 |as 'thin|g-get-li|
|00001750| 6e 65 20 23 5b 28 68 65 | 72 65 29 20 22 c0 11 8a |ne #[(he|re) "...|
|00001760| 5c 6e 62 88 c3 79 88 60 | 1c c5 0c 60 5c 22 2a 87 |\nb..y.`|...`\"*.|
|00001770| 22 20 5b 6c 69 6e 65 20 | 2a 6c 61 73 74 2d 74 68 |" [line |*last-th|
|00001780| 69 6e 67 2a 20 68 65 72 | 65 20 30 20 73 74 61 72 |ing* her|e 0 star|
|00001790| 74 20 74 68 69 6e 67 2d | 72 65 67 69 6f 6e 5d 20 |t thing-|region] |
|000017a0| 33 20 28 23 24 20 2e 20 | 35 38 38 33 29 5d 29 0a |3 (#$ . |5883)]).|
|000017b0| 23 40 34 38 20 52 65 74 | 75 72 6e 20 73 74 61 72 |#@48 Ret|urn star|
|000017c0| 74 20 61 6e 64 20 65 6e | 64 20 6f 66 20 74 68 65 |t and en|d of the|
|000017d0| 20 70 61 72 61 67 72 61 | 70 68 20 61 74 20 48 45 | paragra|ph at HE|
|000017e0| 52 45 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |RE...(de|falias '|
|000017f0| 74 68 69 6e 67 2d 70 61 | 72 61 67 72 61 70 68 20 |thing-pa|ragraph |
|00001800| 23 5b 28 68 65 72 65 29 | 20 22 c0 11 8a 5c 6e 62 |#[(here)| "...\nb|
|00001810| 88 c3 c4 20 88 60 c5 20 | 88 60 5c 22 29 87 22 20 |... .`. |.`\")." |
|00001820| 5b 70 61 72 61 67 72 61 | 70 68 20 2a 6c 61 73 74 |[paragra|ph *last|
|00001830| 2d 74 68 69 6e 67 2a 20 | 68 65 72 65 20 74 68 69 |-thing* |here thi|
|00001840| 6e 67 2d 72 65 67 69 6f | 6e 20 62 61 63 6b 77 61 |ng-regio|n backwa|
|00001850| 72 64 2d 70 61 72 61 67 | 72 61 70 68 20 66 6f 72 |rd-parag|raph for|
|00001860| 77 61 72 64 2d 70 61 72 | 61 67 72 61 70 68 5d 20 |ward-par|agraph] |
|00001870| 33 20 28 23 24 20 2e 20 | 36 30 36 39 29 5d 29 0a |3 (#$ . |6069)]).|
|00001880| 23 40 34 33 20 52 65 74 | 75 72 6e 20 73 74 61 72 |#@43 Ret|urn star|
|00001890| 74 20 61 6e 64 20 65 6e | 64 20 6f 66 20 74 68 65 |t and en|d of the|
|000018a0| 20 70 61 67 65 20 61 74 | 20 48 45 52 45 2e 1f 0a | page at| HERE...|
|000018b0| 28 64 65 66 61 6c 69 61 | 73 20 27 74 68 69 6e 67 |(defalia|s 'thing|
|000018c0| 2d 70 61 67 65 20 23 5b | 28 68 65 72 65 29 20 22 |-page #[|(here) "|
|000018d0| c0 11 8a 5c 6e 62 88 c3 | c4 20 88 60 c5 20 88 60 |...\nb..|. .`. .`|
|000018e0| 5c 22 29 87 22 20 5b 70 | 61 67 65 20 2a 6c 61 73 |\")." [p|age *las|
|000018f0| 74 2d 74 68 69 6e 67 2a | 20 68 65 72 65 20 74 68 |t-thing*| here th|
|00001900| 69 6e 67 2d 72 65 67 69 | 6f 6e 20 62 61 63 6b 77 |ing-regi|on backw|
|00001910| 61 72 64 2d 70 61 67 65 | 20 66 6f 72 77 61 72 64 |ard-page| forward|
|00001920| 2d 70 61 67 65 5d 20 33 | 20 28 23 24 20 2e 20 36 |-page] 3| (#$ . 6|
|00001930| 32 37 37 29 5d 29 0a 23 | 40 39 30 20 4b 69 6c 6c |277)]).#|@90 Kill|
|00001940| 20 74 65 78 74 20 6f 62 | 6a 65 63 74 20 75 73 69 | text ob|ject usi|
|00001950| 6e 67 20 73 79 6e 74 61 | 78 20 74 61 62 6c 65 2e |ng synta|x table.|
|00001960| 0a 53 65 65 20 74 68 69 | 6e 67 2d 62 6f 75 6e 64 |.See thi|ng-bound|
|00001970| 61 72 69 65 73 20 66 6f | 72 20 64 65 66 69 6e 69 |aries fo|r defini|
|00001980| 74 69 6f 6e 20 6f 66 20 | 74 65 78 74 20 6f 62 6a |tion of |text obj|
|00001990| 65 63 74 73 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |ects..(d|efalias |
|000019a0| 27 6b 69 6c 6c 2d 74 68 | 69 6e 67 2d 61 74 2d 70 |'kill-th|ing-at-p|
|000019b0| 6f 69 6e 74 20 23 5b 28 | 68 65 72 65 29 20 22 c0 |oint #[(|here) ".|
|000019c0| 09 21 1a c3 5c 6e 40 5c | 6e 41 5c 22 29 87 22 20 |.!..\n@\|nA\")." |
|000019d0| 5b 74 68 69 6e 67 2d 62 | 6f 75 6e 64 61 72 69 65 |[thing-b|oundarie|
|000019e0| 73 20 68 65 72 65 20 62 | 6f 75 6e 64 73 20 6b 69 |s here b|ounds ki|
|000019f0| 6c 6c 2d 72 65 67 69 6f | 6e 5d 20 33 20 28 23 24 |ll-regio|n] 3 (#$|
|00001a00| 20 2e 20 36 34 36 30 29 | 20 22 64 22 5d 29 0a 23 | . 6460)| "d"]).#|
|00001a10| 40 39 30 20 43 6f 70 79 | 20 74 65 78 74 20 6f 62 |@90 Copy| text ob|
|00001a20| 6a 65 63 74 20 75 73 69 | 6e 67 20 73 79 6e 74 61 |ject usi|ng synta|
|00001a30| 78 20 74 61 62 6c 65 2e | 0a 53 65 65 20 74 68 69 |x table.|.See thi|
|00001a40| 6e 67 2d 62 6f 75 6e 64 | 61 72 69 65 73 20 66 6f |ng-bound|aries fo|
|00001a50| 72 20 64 65 66 69 6e 69 | 74 69 6f 6e 20 6f 66 20 |r defini|tion of |
|00001a60| 74 65 78 74 20 6f 62 6a | 65 63 74 73 1f 0a 28 64 |text obj|ects..(d|
|00001a70| 65 66 61 6c 69 61 73 20 | 27 63 6f 70 79 2d 74 68 |efalias |'copy-th|
|00001a80| 69 6e 67 2d 61 74 2d 70 | 6f 69 6e 74 20 23 5b 28 |ing-at-p|oint #[(|
|00001a90| 68 65 72 65 29 20 22 c0 | 09 21 1a c3 5c 6e 40 5c |here) ".|.!..\n@\|
|00001aa0| 6e 41 5c 22 29 87 22 20 | 5b 74 68 69 6e 67 2d 62 |nA\")." |[thing-b|
|00001ab0| 6f 75 6e 64 61 72 69 65 | 73 20 68 65 72 65 20 62 |oundarie|s here b|
|00001ac0| 6f 75 6e 64 73 20 63 6f | 70 79 2d 72 65 67 69 6f |ounds co|py-regio|
|00001ad0| 6e 2d 61 73 2d 6b 69 6c | 6c 5d 20 33 20 28 23 24 |n-as-kil|l] 3 (#$|
|00001ae0| 20 2e 20 36 36 37 36 29 | 20 22 64 22 5d 29 0a | . 6676)| "d"]). |
+--------+-------------------------+-------------------------+--------+--------+